
public class Enterprise {
	public static void main(String args[]){
		Director dir = Director.getInstance("Constantin");
		System.out.println(dir.getN());
		
		Director dir2 = Director.getInstance("Bogdan");
		System.out.println(dir2.getN());
		
		//desi al doilea obiect dir incearca sa introduce un nou director, acest lucru nu va fi posibil
		// directorul ramane Constantin
	}
}
